package com.cloud.lawcase.api.service;

import java.util.List;

import com.cloud.lawcase.api.bean.ApiInterBean;
import com.cloud.lawcase.api.bean.LawApiSearchCriteria;
import com.cloud.lawcase.api.entity.TcAccessGlobalParams;
import com.cloud.lawcase.api.entity.TcAccessToken;
import com.cloud.lawcase.api.entity.TcAccesssInterface;
import com.cloud.lawcase.api.entity.TcRelTokenInterface;
import com.github.pagehelper.PageInfo;

public interface LawApiManagerService {

	PageInfo<TcAccessToken> listPage(LawApiSearchCriteria searchCriteria);

	String delete(String appId);

	TcAccessToken load(String appId);

	TcAccessToken saveUpdate(TcAccessToken token);

	boolean checkUrlAuthority(String appId, String requestUri);

	List<TcAccesssInterface> listAllInters();

	List<TcRelTokenInterface> listCheckedInters(String appid);

	void saveUpdateInterRel(ApiInterBean apiInter);

	List<TcAccessGlobalParams> listGlobalParams(String appId);

}
